package components;

import org.openqa.selenium.WebDriver;

import componentsAbstract.CompAbstract;

public class UrlLink extends CompAbstract{

	String url="";
	
	public UrlLink(WebDriver driver, String url) {
		this.driver = driver;
		this.url=url;
		this.classInfo = this.getClass().getCanonicalName();
	}
	
	
	public boolean navigate() throws Exception
	{
		
		classInfo += " public boolean navigate()";
		driver.get(url);
		return true;
	}

}
